public class Main {
    public static void main(String[] args) {
        int a = 10;
        Message m1 = new Message("sda","asd","cvb");
        System.out.println(m1.toString());
        System.out.print(m1.toString()+a);
    }
}


























































//        Message day1 = new Message();
//        Message day2 = new Message();
////        Message day3 = new Message();
////        day1.setSender("Li");
////        day1.setRecipient("Xu");
////        day1.append("Hello.");
////        day1.append("I'm missing you.");
////        day1.append("Can you be my girlfriend?");
////        day2.setSender("Li");
////        day2.setRecipient("Xu");
////        day2.append("I dream about you almost every night.");
////        day2.append("How can I let you know?");
////        day3.setSender("Li");
////        day3.setRecipient("Xu");
////        day3.append("I often stayed up at night.");
////        day3.append("Missing your bits and pieces.");
////        day3.append("I still can't open my mouth to let you know.");
////        day3.append("I will definitely take care of you and make you laugh");
//        Mailbox box1 = new Mailbox();
//        box1.addMessage(day1);
//        box1.addMessage(day2);
//        box1.addMessage(day3);
//        String IWantToSay = box1.getMessage(3);
//        System.out.println(IWantToSay);
//        box1.removeMessage(1);
//        String delete =box1.getMessage(3);